<xmp is="ms-dialog" ms-widget="{dialog: @enableDialog}" >
    <!-- 激活账号的弹窗 -->
    <!-- 第一步 -->
    <div class="enbaledBox stepFirst" :if="@step=='1'">
        <p class="mt4-jy">为了保证您的账户安全，请再次输入密码</p>
        <label>密码：<input type="password" class="textInput" :duplex="@pwd" /></label>
        <p class="danger">{{@pwdError}}</p>
        <button class="m-btn " 
        :click="@nextStep" 
        :attr="{disabled:@loading}" 
        :class="{loading:@loading}">
            下一步
        </button>
    </div>
    <!-- 第二步 -->
    <div class="enbaledBox stepSecond" :if="@step=='2'">
        <table width="100%" class="accountInfoTb">
            <tr>
                <th>交易平台</th>
                <td>{{@accountList[@unEnable].platform}}</td>
            </tr>
            <tr>
                <th>账户级别</th>
                <td>
                    {{@accountList[@hasEnable].accountLevel}}
                    <span class="mt4-tips">（同{{@accountList[@hasEnable].platform}}账户,如需修改可在“<a href="javascript:void(0)" class="a-link">我的账户</a>”提交账户升降级申请）</span>
                </td>
            </tr>
            <tr>
                <th>账户币种</th>
                <td>{{@accountList[@hasEnable].currencyName}}（同{{@accountList[@hasEnable].platform}}账户）</td>
            </tr>
        </table>
        <p class="readMust"> 
            <input type="checkbox" name="tc" :duplex-checked="@agree">
            本人已细阅并完全明白、理解及同意
            <a href="http://www.24k.hk/common/Client_agreement_zh.pdf" target="_blank" class="a-link">客户协议书</a>、
            <a href="http://oa.24k.hk/zh/statements.html" target="_blank" class="a-link">风险披露声明 </a>、
            <a href="http://oa.24k.hk/zh/asserts.html" target="_blank" class="a-link">免责声明</a>全部内容。
        </p>
        <p class="danger">{{@pwdError}}</p>
        <button class="m-btn " 
                :click="@emmitAcc" 
                :attr="{disabled:@loading}" 
                :class="{loading:@loading}">
                确认开户
        </button>
    </div>
</xmp>